NinjaForms\Includes\Factories\ConstructUsageEntity B

Total Complexity 89
Dependencies 1
Dependents 1
Total lines 960
Lines of code 386
Logical lines of code 158
Comment lines 360
Methods 32
Properties 22

Methods 32

Method Rating Maintainability Complexity Lines of code
constructDisplaySettingsUsage()
B
44 21 36
constructFieldMetaUsage()
A
49 9 28
constructActionsUsage()
S
57 7 15
constructRestrictionsUsage()
S
59 7 12
constructSubmissionsUsage()
S
54 5 21
constructCalculationsUsage()
S
55 5 19
constructActionMetaUsage()
S
60 5 12
constructFormMetaSql()
S
49 2 40
constructFieldMetaSql()
S
57 2 18
constructUsageArray()
S
58 1 16
calculateActionTypesCountPerForm()
S
64 2 9
getNfSettingByKey()
S
71 2 6
calculateFieldTypesCountPerForm()
S
64 2 9
handle()
S
61 1 14
populateSubmissionPostmeta()
S
61 1 13
constructActionMetaSql()
S
65 1 12
populateActions()
S
63 1 11
populateForms()
S
63 1 11
__construct()
S
81 1 3
populateFieldMeta()
S
68 1 7
populateActionMeta()
S
68 1 7
populateFields()
S
64 1 10
constructSettingsUsage()
S
66 1 8
populateFormMeta()
S
68 1 7
populateWpdb()
S
77 1 4
calculateElapsedTime()
S
70 1 6
calculateActionsPerForm()
S
74 1 4
calculateFieldsPerForm()
S
74 1 4
constructFieldsUsage()
S
67 1 8
constructFormsUsage()
S
69 1 7
constructPluginUsage()
S
82 1 3
populateNinjaFormsSettings()
S
70 1 6